package com.luck.emp.entity;

import java.util.Date;

import com.luck.pf.util.DateUtil;
import com.luck.pf.util.FormateUtil;

/**
 * 说明:ENEITY类
 * Copyright: Copyright (c) 2011
 * 深圳**科技
 * @author 
 * 
 */
public class EmpTCgDList implements java.io.Serializable {
		/**
		 * pk
		 * ID
		 **/
		Long cgListId;
		/**
		 * 采购单明细表id
		 **/
		Long cgdId;
		/**
		 * 商品编码
		 **/
		String productCode;
		/**
		 * 实际入库数量
		 **/
		Long confirmIn;
		/**
		 * 实际采购价
		 **/
		Double priceReal;
		/**
		 * 已核销金额
		 **/
		Double payAmt;
		/**
		 * 核销状态
		 **/
		String hxStatus;
		/**
		 * 插入时间
		 **/
		Date inDate;
	
	public EmpTCgDList(){
	}
	
		public Long getCgListId(){
			return this.cgListId;
		}		
		public void setCgListId(Long cgListId){
			this.cgListId = cgListId;
		}
		public Long getCgdId(){
			return this.cgdId;
		}		
		public void setCgdId(Long cgdId){
			this.cgdId = cgdId;
		}
		public String getProductCode(){
			return this.productCode;
		}		
		public void setProductCode(String productCode){
			this.productCode = productCode;
		}
		public Long getConfirmIn(){
			return this.confirmIn;
		}		
		public void setConfirmIn(Long confirmIn){
			this.confirmIn = confirmIn;
		}
		public Double getPriceReal(){
			return this.priceReal;
		}		
		public void setPriceReal(Double priceReal){
			this.priceReal = priceReal;
		}
		public Double getPayAmt(){
			return this.payAmt;
		}		
		public void setPayAmt(Double payAmt){
			this.payAmt = payAmt;
		}
		public String getHxStatus(){
			return this.hxStatus;
		}		
		public void setHxStatus(String hxStatus){
			this.hxStatus = hxStatus;
		}
		public Date getInDate(){
			return this.inDate;
		}		
		public void setInDate(Date inDate){
			this.inDate = inDate;
		}
	
		public String getPriceRealStr(){
			return FormateUtil.getInstance().formateDouble(this.priceReal);
		}
		public String getPayAmtStr(){
			return FormateUtil.getInstance().formateDouble(this.payAmt);
		}
		public String getInDateStr(){
			return DateUtil.dateToString(this.inDate,DateUtil.patternA);
		}
	
}